package com.block.storage.config;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
public class CosTenConfig {

   @Value("${cos.ten.regionId}")
   private String regionId;

    @Value("${cos.ten.endpoint}")
    private String endpoint;

    @Value("${cos.ten.bucketName}")
    private String bucketName;

    @Value("${cos.ten.hostUrl}")
    private String hostUrl;

    @Value("${cos.ten.accessKey}")
    private String accessKey;

    @Value("${cos.ten.accessSecret}")
    private String accessSecret;

    @Value("${cos.ten.duration}")
    private String duration;

    @Value("${cos.ten.roleArn}")
    private String roleArn;

    @Value("${cos.ten.roleSessionName}")
    private String roleSessionName;

    @Value("${cos.ten.policy}")
    private String policy;

}

